Optimal. Leaf size=146 \[ -\frac{\sqrt{1-c x} \sinh \left (\frac{2 a}{b}\right ) \text{Chi}\left (\frac{2 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{b^2 c \sqrt{c x-1}}+\frac{\sqrt{1-c x} \cosh \left (\frac{2 a}{b}\right ) \text{Shi}\left (\frac{2 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{b^2 c \sqrt{c x-1}}-\frac{\sqrt{c x-1} \sqrt{c x+1} \sqrt{1-c^2 x^2}}{b c \left (a+b \cosh ^{-1}(c x)\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.335176, antiderivative size = 177, normalized size of antiderivative = 1.21, number of steps used = 8, number of rules used = 8, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.32, Rules used = {5713, 5697, 5670, 5448, 12, 3303, 3298, 3301} \[ -\frac{\sqrt{1-c^2 x^2} \sinh \left (\frac{2 a}{b}\right ) \text{Chi}\left (\frac{2 a}{b}+2 \cosh ^{-1}(c x)\right )}{b^2 c \sqrt{c x-1} \sqrt{c x+1}}+\frac{\sqrt{1-c^2 x^2} \cosh \left (\frac{2 a}{b}\right ) \text{Shi}\left (\frac{2 a}{b}+2 \cosh ^{-1}(c x)\right )}{b^2 c \sqrt{c x-1} \sqrt{c x+1}}+\frac{\sqrt{c x+1} \sqrt{1-c^2 x^2} (1-c x)}{b c \sqrt{c x-1} \left (a+b \cosh ^{-1}(c x)\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5713
Rule 5697
Rule 5670
Rule 5448
Rule 12
Rule 3303
Rule 3298
Rule 3301
Rubi steps
\begin{align*} \int \frac{\sqrt{1-c^2 x^2}}{\left (a+b \cosh ^{-1}(c x)\right )^2} \, dx &=\frac{\sqrt{1-c^2 x^2} \int \frac{\sqrt{-1+c x} \sqrt{1+c x}}{\left (a+b \cosh ^{-1}(c x)\right )^2} \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{(1-c x) \sqrt{1+c x} \sqrt{1-c^2 x^2}}{b c \sqrt{-1+c x} \left (a+b \cosh ^{-1}(c x)\right )}+\frac{\left (2 c \sqrt{1-c^2 x^2}\right ) \int \frac{x}{a+b \cosh ^{-1}(c x)} \, dx}{b \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{(1-c x) \sqrt{1+c x} \sqrt{1-c^2 x^2}}{b c \sqrt{-1+c x} \left (a+b \cosh ^{-1}(c x)\right )}+\frac{\left (2 \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\cosh (x) \sinh (x)}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{b c \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{(1-c x) \sqrt{1+c x} \sqrt{1-c^2 x^2}}{b c \sqrt{-1+c x} \left (a+b \cosh ^{-1}(c x)\right )}+\frac{\left (2 \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\sinh (2 x)}{2 (a+b x)} \, dx,x,\cosh ^{-1}(c x)\right )}{b c \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{(1-c x) \sqrt{1+c x} \sqrt{1-c^2 x^2}}{b c \sqrt{-1+c x} \left (a+b \cosh ^{-1}(c x)\right )}+\frac{\sqrt{1-c^2 x^2} \operatorname{Subst}\left (\int \frac{\sinh (2 x)}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{b c \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{(1-c x) \sqrt{1+c x} \sqrt{1-c^2 x^2}}{b c \sqrt{-1+c x} \left (a+b \cosh ^{-1}(c x)\right )}+\frac{\left (\sqrt{1-c^2 x^2} \cosh \left (\frac{2 a}{b}\right )\right ) \operatorname{Subst}\left (\int \frac{\sinh \left (\frac{2 a}{b}+2 x\right )}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{b c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (\sqrt{1-c^2 x^2} \sinh \left (\frac{2 a}{b}\right )\right ) \operatorname{Subst}\left (\int \frac{\cosh \left (\frac{2 a}{b}+2 x\right )}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{b c \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{(1-c x) \sqrt{1+c x} \sqrt{1-c^2 x^2}}{b c \sqrt{-1+c x} \left (a+b \cosh ^{-1}(c x)\right )}-\frac{\sqrt{1-c^2 x^2} \text{Chi}\left (\frac{2 a}{b}+2 \cosh ^{-1}(c x)\right ) \sinh \left (\frac{2 a}{b}\right )}{b^2 c \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\sqrt{1-c^2 x^2} \cosh \left (\frac{2 a}{b}\right ) \text{Shi}\left (\frac{2 a}{b}+2 \cosh ^{-1}(c x)\right )}{b^2 c \sqrt{-1+c x} \sqrt{1+c x}}\\ \end{align*}
Mathematica [A] time = 0.216824, size = 121, normalized size = 0.83 \[ -\frac{\sqrt{1-c^2 x^2} \left (\sinh \left (\frac{2 a}{b}\right ) \left (a+b \cosh ^{-1}(c x)\right ) \text{Chi}\left (2 \left (\frac{a}{b}+\cosh ^{-1}(c x)\right )\right )-\cosh \left (\frac{2 a}{b}\right ) \left (a+b \cosh ^{-1}(c x)\right ) \text{Shi}\left (2 \left (\frac{a}{b}+\cosh ^{-1}(c x)\right )\right )+b \left (c^2 x^2-1\right )\right )}{b^2 c \sqrt{c x-1} \sqrt{c x+1} \left (a+b \cosh ^{-1}(c x)\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.162, size = 361, normalized size = 2.5 \begin{align*}{\frac{1}{ \left ( 4\,cx+4 \right ) \left ( cx-1 \right ) c \left ( a+b{\rm arccosh} \left (cx\right ) \right ) b}\sqrt{-{c}^{2}{x}^{2}+1} \left ( -2\,\sqrt{cx+1}\sqrt{cx-1}{x}^{2}{c}^{2}+2\,{c}^{3}{x}^{3}+\sqrt{cx-1}\sqrt{cx+1}-2\,cx \right ) }-{\frac{1}{ \left ( 2\,cx+2 \right ) \left ( cx-1 \right ) c{b}^{2}}\sqrt{-{c}^{2}{x}^{2}+1} \left ( -\sqrt{cx+1}\sqrt{cx-1}xc+{c}^{2}{x}^{2}-1 \right ){\it Ei} \left ( 1,2\,{\rm arccosh} \left (cx\right )+2\,{\frac{a}{b}} \right ){{\rm e}^{{\frac{b{\rm arccosh} \left (cx\right )+2\,a}{b}}}}}-{\frac{1}{4\,c{b}^{2} \left ( a+b{\rm arccosh} \left (cx\right ) \right ) }\sqrt{-{c}^{2}{x}^{2}+1} \left ( 2\,\sqrt{cx-1}\sqrt{cx+1}xbc+2\,{x}^{2}b{c}^{2}+2\,{\rm arccosh} \left (cx\right ){\it Ei} \left ( 1,-2\,{\rm arccosh} \left (cx\right )-2\,{\frac{a}{b}} \right ){{\rm e}^{-2\,{\frac{a}{b}}}}b+2\,{\it Ei} \left ( 1,-2\,{\rm arccosh} \left (cx\right )-2\,{\frac{a}{b}} \right ){{\rm e}^{-2\,{\frac{a}{b}}}}a-b \right ){\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}+{\frac{1}{2\,c \left ( a+b{\rm arccosh} \left (cx\right ) \right ) b}\sqrt{-{c}^{2}{x}^{2}+1}{\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{{\left ({\left (c^{2} x^{2} - 1\right )}{\left (c x + 1\right )} \sqrt{c x - 1} +{\left (c^{3} x^{3} - c x\right )} \sqrt{c x + 1}\right )} \sqrt{-c x + 1}}{a b c^{3} x^{2} + \sqrt{c x + 1} \sqrt{c x - 1} a b c^{2} x - a b c +{\left (b^{2} c^{3} x^{2} + \sqrt{c x + 1} \sqrt{c x - 1} b^{2} c^{2} x - b^{2} c\right )} \log \left (c x + \sqrt{c x + 1} \sqrt{c x - 1}\right )} + \int \frac{{\left ({\left (2 \, c^{2} x^{2} + 1\right )}{\left (c x + 1\right )}^{\frac{3}{2}}{\left (c x - 1\right )} + 2 \,{\left (2 \, c^{3} x^{3} - c x\right )}{\left (c x + 1\right )} \sqrt{c x - 1} +{\left (2 \, c^{4} x^{4} - 3 \, c^{2} x^{2} + 1\right )} \sqrt{c x + 1}\right )} \sqrt{-c x + 1}}{a b c^{4} x^{4} +{\left (c x + 1\right )}{\left (c x - 1\right )} a b c^{2} x^{2} - 2 \, a b c^{2} x^{2} + 2 \,{\left (a b c^{3} x^{3} - a b c x\right )} \sqrt{c x + 1} \sqrt{c x - 1} + a b +{\left (b^{2} c^{4} x^{4} +{\left (c x + 1\right )}{\left (c x - 1\right )} b^{2} c^{2} x^{2} - 2 \, b^{2} c^{2} x^{2} + 2 \,{\left (b^{2} c^{3} x^{3} - b^{2} c x\right )} \sqrt{c x + 1} \sqrt{c x - 1} + b^{2}\right )} \log \left (c x + \sqrt{c x + 1} \sqrt{c x - 1}\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{-c^{2} x^{2} + 1}}{b^{2} \operatorname{arcosh}\left (c x\right )^{2} + 2 \, a b \operatorname{arcosh}\left (c x\right ) + a^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{- \left (c x - 1\right ) \left (c x + 1\right )}}{\left (a + b \operatorname{acosh}{\left (c x \right )}\right )^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{-c^{2} x^{2} + 1}}{{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]